package com.gzx.spring.drools.provider;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface RiskUserLevelFeign {

    @PostMapping("/feign/risk/userScore/rate")
    void rateUserScore(@RequestParam("uid") Integer uid, @RequestParam("oid") Integer oid) throws Exception;

    @PostMapping("/feign/risk/getUserScoreInfo")
    String getUserScoreInfo(@RequestParam(name = "uid") String uid);

}
